﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DepositRecord.ascx.cs"
    Inherits="UserControls_DepositRecord" %>
<%@ Register Src="Page.ascx" TagName="Page" TagPrefix="uc1" %>
<%@ Register Assembly="Infragistics2.WebUI.UltraWebTab.v7.1, Version=7.1.20071.40, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.UltraWebTab" TagPrefix="igtab" %>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<table width="759" border="0" cellpadding="0" cellspacing="1" bgcolor="#E7C890">
    <tr>
        <td bgcolor="#FFFFFF">
            <table width="757" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="94" height="23" align="center" background="images/button_user_1.jpg" class="black12" id="Deposit" runat="server" >
                        <asp:LinkButton ID="lbDepositRecord" runat="server" OnClick="lbDepositRecord_Click">预存款记录</asp:LinkButton></td>
                    <td width="94" align="center" background="images/bg_gold_23_2.jpg" class="black12" id="Pay" runat="server">
                        <asp:LinkButton ID="lbPayRecord" runat="server" OnClick="lbPayRecord_Click">支付记录</asp:LinkButton></td>
                        <td width="94" align="center" background="images/bg_gold_23_2.jpg" class="black12">
                        <a href="OnlinePay/Alipay02/Default.aspx?Type=ShopSite">在线充值</a></td>
                    <td width="465" align="left" background="images/bg_gold_23_2.jpg">
                        &nbsp;</td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="25" bgcolor="#FFFFFF">
            <div style="height: 10px;">
            </div>
            <div id="PayRecord"  runat="server">
                <table width="735" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                    <tr>
                        <td>
                            <asp:GridView ID="gvPayRecord" runat="server" Style="text-align: center" Width="100%"
                                AutoGenerateColumns="False" OnRowDataBound="gvPayRecord_RowDataBound">
                                <Columns>
                                    <asp:BoundField DataField="DateTime" HeaderText="支付时间" DataFormatString="{0:yyyy-MM-dd}" />
                                    <asp:BoundField DataField="SaleID" HeaderText="支付订单" />
                                    <asp:BoundField DataField="Money" HeaderText="支付金额" />
                                </Columns>
                                <HeaderStyle Height="23px" />
                            </asp:GridView>
                        </td>
                    </tr>
                    <tr>
                        <td height="23" colspan="3" align="right" bgcolor="#FFFFFF" class="help12" style="padding-right: 20px;">
                            合计： <span class="red">￥<asp:Label ID="lbSum" runat="server" Text="0.00"></asp:Label></span></td>
                    </tr>
                    <tr>
                        <td height="23" colspan="3" align="right" bgcolor="#FFFFFF" class="help12" style="padding-right: 20px;">
                            当前余额： <span class="red">￥<asp:Label ID="lbRemainSum" runat="server" Text="0.00"></asp:Label></span></td>
                    </tr>
                    <tr>
                        <td bgcolor="#FFFFFF">
                            <uc1:Page ID="Page2" runat="server" PageSize="5" Type="1" />
                            
                        </td>
                    </tr>
                </table>
            </div>
            <div id="DepRecord"  runat="server">
                <table width="735" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                    <tr>
                        <td>
                            <asp:GridView Style="text-align: center" ID="gvDepRecord" Width="100%" runat="server"
                                AutoGenerateColumns="False" OnRowDataBound="gvDepRecord_RowDataBound">
                                <Columns>
                                    <asp:BoundField DataField="OperatorTypeName" HeaderText="充值类型" />
                                    <asp:BoundField DataField="DateTime" DataFormatString="{0:yyyy-MM-dd}" HeaderText="充值时间">
                                    </asp:BoundField>
                                    <asp:BoundField DataField="Money" HeaderText="充值金额"></asp:BoundField>
                                </Columns>
                                <HeaderStyle Height="23px" />
                            </asp:GridView>
                        </td>
                    </tr>
                    <tr>
                        <td height="23" colspan="3" align="right" bgcolor="#FFFFFF" class="help12" style="padding-right: 20px;">
                            合计： <span class="red">￥<asp:Label ID="lbSumMoney" runat="server" Text="0.00"></asp:Label></span></td>
                    </tr>
                    <tr>
                        <td height="23" colspan="3" align="right" bgcolor="#FFFFFF" class="help12" style="padding-right: 20px;">
                            当前余额： <span class="red">￥<asp:Label ID="lbRemainMoney" runat="server" Text="0.00"></asp:Label></span></td>
                    </tr>
                    <tr>
        <td bgcolor="#FFFFFF">
            <uc1:Page ID="Page1" runat="server" PageSize="5" Type="1" />
        
        </td>
    </tr>
                </table>
            </div>
        </td>
    </tr>
    
</table>
